package com.ktjiaoyu.service;

import com.ktjiaoyu.entity.StorageRecord;
import com.ktjiaoyu.entity.Supplier;
import com.ktjiaoyu.utils.Page;
import org.apache.ibatis.annotations.Param;

public interface StorageRecordService {
    /** 多条件查询用户分页数据 */
    public Page<StorageRecord> findPage(StorageRecord storageRecord, Integer pageNo, Integer pageSize);

    public boolean insert(StorageRecord storageRecord);

    public boolean update(StorageRecord storageRecord);

    /**
     * 详情
     * @param id
     * @return
     */
    public StorageRecord selectById(@Param("id") Long id);

    //根据入库编号查重
    public StorageRecord selectCode(@Param("srCode") String srCode);

    public boolean delete(@Param("id") Long id);
}
